package com.lv.dhart.beans.market;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.List;

/**
 * 一口价挂单
 */
public class OnePriceOrders implements Serializable {


    private static final long serialVersionUID = 7901927209609496251L;
    /**
     * code : 0
     * message :
     * data : {"list":[{"nft_spu_id":1,"nft_name":"敦煌文化传播使者徽章","image":"https://dh-dc.oss-cn-hangzhou.aliyuncs.com/339129790130950144.gif","max_price":null,"min_price":null,"on_sale_num":424,"floor_price":24,"issue_price":0}],"page":1,"total_pages":1,"total":1}
     */

    @SerializedName("code")
    private Integer code;
    @SerializedName("message")
    private String message;
    @SerializedName("data")
    private DataDTO data;

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public DataDTO getData() {
        return data;
    }

    public void setData(DataDTO data) {
        this.data = data;
    }

    public static class DataDTO {
        /**
         * list : [{"nft_spu_id":1,"nft_name":"敦煌文化传播使者徽章","image":"https://dh-dc.oss-cn-hangzhou.aliyuncs.com/339129790130950144.gif","max_price":null,"min_price":null,"on_sale_num":424,"floor_price":24,"issue_price":0}]
         * page : 1
         * total_pages : 1
         * total : 1
         */

        @SerializedName("page")
        private Integer page;
        @SerializedName("total_pages")
        private Integer totalPages;
        @SerializedName("total")
        private Integer total;
        @SerializedName("list")
        private List<ListDTO> list;

        public Integer getPage() {
            return page;
        }

        public void setPage(Integer page) {
            this.page = page;
        }

        public Integer getTotalPages() {
            return totalPages;
        }

        public void setTotalPages(Integer totalPages) {
            this.totalPages = totalPages;
        }

        public Integer getTotal() {
            return total;
        }

        public void setTotal(Integer total) {
            this.total = total;
        }

        public List<ListDTO> getList() {
            return list;
        }

        public void setList(List<ListDTO> list) {
            this.list = list;
        }

        public static class ListDTO {
            /**
             * nft_spu_id : 1
             * nft_name : 敦煌文化传播使者徽章
             * image : https://dh-dc.oss-cn-hangzhou.aliyuncs.com/339129790130950144.gif
             * max_price : null
             * min_price : null
             * on_sale_num : 424
             * floor_price : 24.0
             * issue_price : 0.0
             */

            @SerializedName("nft_spu_id")
            private Integer nftSpuId;
            @SerializedName("nft_name")
            private String nftName;
            @SerializedName("image")
            private String image;
            @SerializedName("max_price")
            private Object maxPrice;
            @SerializedName("min_price")
            private Object minPrice;
            @SerializedName("on_sale_num")
            private Integer onSaleNum;
            @SerializedName("floor_price")
            private Double floorPrice;
            @SerializedName("issue_price")
            private Double issuePrice;

            public Integer getNftSpuId() {
                return nftSpuId;
            }

            public void setNftSpuId(Integer nftSpuId) {
                this.nftSpuId = nftSpuId;
            }

            public String getNftName() {
                return nftName;
            }

            public void setNftName(String nftName) {
                this.nftName = nftName;
            }

            public String getImage() {
                return image;
            }

            public void setImage(String image) {
                this.image = image;
            }

            public Object getMaxPrice() {
                return maxPrice;
            }

            public void setMaxPrice(Object maxPrice) {
                this.maxPrice = maxPrice;
            }

            public Object getMinPrice() {
                return minPrice;
            }

            public void setMinPrice(Object minPrice) {
                this.minPrice = minPrice;
            }

            public Integer getOnSaleNum() {
                return onSaleNum;
            }

            public void setOnSaleNum(Integer onSaleNum) {
                this.onSaleNum = onSaleNum;
            }

            public Double getFloorPrice() {
                return floorPrice;
            }

            public void setFloorPrice(Double floorPrice) {
                this.floorPrice = floorPrice;
            }

            public Double getIssuePrice() {
                return issuePrice;
            }

            public void setIssuePrice(Double issuePrice) {
                this.issuePrice = issuePrice;
            }
        }
    }
}
